<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
     <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<style type="text/css">

#div2{
	background-image: url(../static/img/img1.png); 
	padding: 20px; 
	border: solid; 
	border-width:1px; 
	border-color: black; 
}

input.submit{
	color: white;
	font-size: small;
}

</style>

<script type="text/javascript">

$(document).ready(function(){
	$("input:submit").button(); 
});

</script>

</head>
<body>
<div id="div2">

	<form:form commandName="fileDTO" modelAttribute="fileDTO" action="leerArchivo.do" enctype="multipart/form-data" method="post">
		<center>
			<table>
				<tr>
					<div style="" class="ui-state-default ui-corner-all" >
						<h2>Carga de Archivo</h2>
					</div>
				</tr>
				<tr><td height="40px">&nbsp;</td></tr>
				<tr>
					<td><form:input path="file" type="file"/></td>
				</tr>
				<tr><td height="40px">&nbsp;</td></tr>
				<tr>
					<td><input type="submit" value="Importar" class="submit"></td>
				</tr>
			</table>
		</center>
	</form:form>
	<br></br>
	<hr></hr>
	<br></br>
</div><!-- #div2-->
</body>
</html>